<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>$config_booleanize</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Smarty 3 Manual">
<link rel="up" href="api.variables.html" title="Chapter 13. Smarty Class Variables">
<link rel="prev" href="variable.compiler.class.html" title="$compiler_class">
<link rel="next" href="variable.config.dir.html" title="$config_dir">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">$config_booleanize</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="variable.compiler.class.html">Prev</a> </td>
<th width="60%" align="center">Chapter 13. Smarty Class Variables</th>
<td width="20%" align="right"> <a accesskey="n" href="variable.config.dir.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="sect1" title="$config_booleanize">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="variable.config.booleanize"></a>$config_booleanize</h2></div></div></div>
<p>
	   If set to <code class="constant">TRUE</code>, <a class="link" href="config.files.html" title="Chapter 9. Config Files">config files</a>
        values of <code class="literal">on/true/yes</code>
        and <code class="literal">off/false/no</code> get
	   converted to boolean values automatically. This way you can use the
	   values in the template like so:
       <code class="literal">{if #foobar#}...{/if}</code>. If foobar was
	   <code class="literal">on</code>, <code class="literal">true</code> or <code class="literal">yes</code>,
       the <code class="varname">{if}</code> statement will execute.
       Defaults to <code class="constant">TRUE</code>.
      </p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="variable.compiler.class.html">Prev</a> </td>
<td width="20%" align="center"><a accesskey="u" href="api.variables.html">Up</a></td>
<td width="40%" align="right"> <a accesskey="n" href="variable.config.dir.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">$compiler_class </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top"> $config_dir</td>
</tr>
</table>
</div>
</body>
</html>
